package com.qixin.modules.ea.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: ea_agency_reimbursement
 * @Author: qixin-boot
 * @Date:   2021-09-22
 * @Version: V1.0
 */
@Data
@TableName("ea_agency_reimbursement")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ea_agency_reimbursement对象", description="ea_agency_reimbursement")
public class EaAgencyReimbursement implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人id*/
    @ApiModelProperty(value = "创建人id")
    private String createBy;
    private transient String createByName;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    private transient String updateByName;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**代理人id*/
	@Excel(name = "代理人id", width = 15)
    @ApiModelProperty(value = "代理人id")
    private String agentId;
    private transient String agentIdName;
	/**委托人id*/
	@Excel(name = "委托人id", width = 15)
    @ApiModelProperty(value = "委托人id")
    private String clientId;
    private transient String clientIdName;
	/**代理人部门id*/
	@Excel(name = "代理人部门id", width = 15)
    @ApiModelProperty(value = "代理人部门id")
    private String agentDept;
    private transient String agentDeptName;
	/**委托人部门id*/
	@Excel(name = "委托人部门id", width = 15)
    @ApiModelProperty(value = "委托人部门id")
    private String clientDept;
    private transient String clientDeptName;

    /**所属组织*/
    @Excel(name = "所属组织", width = 15)
    @ApiModelProperty(value = "所属组织")
    private String sysOrgCode;

    /**委托人人员主键*/
    @Excel(name = "委托人人员主键", width = 15)
    @ApiModelProperty(value = "委托人人员主键")
    private String clientPsndoc;
}
